package com.example.service.webhook.business.alipay.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author liyang
 * @email liyang@51dojo.com
 * @create 2017-10-23 上午11:48
 * @description 用户支付宝绑定的银行卡信息
 **/
@JsonIgnoreProperties(ignoreUnknown = true)
public class AlipayBankInfo {

    @JsonProperty("mapping_id")
    private String mappingId;

    @JsonProperty("active_date")
    private String activeDate;

    private String mobile;

    @JsonProperty("card_number")
    private String cardNumber;

    private int level;

    @JsonProperty("user_name")
    private String userName;

    @JsonProperty("bank_name")
    private String bankName;

    @JsonProperty("card_type")
    private String cardType;

    @JsonProperty("sign_id")
    private String signId;

    @JsonProperty("open_fpcard")
    private boolean openFpcard;

    @JsonProperty("provider_userid")
    private String providerUserid;

    public String getMappingId() {
        return mappingId;
    }

    public void setMappingId(String mappingId) {
        this.mappingId = mappingId;
    }

    public String getActiveDate() {
        return activeDate;
    }

    public void setActiveDate(String activeDate) {
        this.activeDate = activeDate;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getSignId() {
        return signId;
    }

    public void setSignId(String signId) {
        this.signId = signId;
    }

    public boolean isOpenFpcard() {
        return openFpcard;
    }

    public void setOpenFpcard(boolean openFpcard) {
        this.openFpcard = openFpcard;
    }

    public String getProviderUserid() {
        return providerUserid;
    }

    public void setProviderUserid(String providerUserid) {
        this.providerUserid = providerUserid;
    }
}
